﻿namespace EyFramework.Library
{
    public class LoadStatus : IMsg
    {
        private DevExpress.XtraEditors.LabelControl _lbControl;

        public LoadStatus(DevExpress.XtraEditors.LabelControl lc)
        {
            _lbControl = lc;
        }

        public void UpdateMessage(string msg)
        {
            _lbControl.Text = msg;
            _lbControl.Update();
        }
    }
}